package com.store.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author
 * @since 2021-04-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_purchase_log")
public class PurchaseLog extends PageParam implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "purchase_log_id", type = IdType.ID_WORKER_STR)
    private String purchaseLogId;

    /**
     * 材料ID
     */
    private String materialId;

    /**
     * 材料名称
     */
    private String materialName;

    /**
     * 单价
     */
    private Double unitPrice;

    /**
     * 数量
     */
    private Double amount;

    /**
     * 数量
     */
    private String unit;

    /**
     * 总价格
     */
    private BigDecimal totalPrice;

    /**
     * 录入人ID
     */
    private String createUser;

    /**
     * 录入人ID
     */
    private String createUserName;

    /**
     * 录入时间
     */
    private Date createTime;

    /**
     * 进货商
     */
    private String purchaser;

    /**
     * 生产日期
     */
    private Date productionDate;

    /**
     * 过期日期
     */
    private Date expireDate;

    private String purchaseStatus;
}
